function fun(){
    $.get("getGoodsListNew.php",{"typeId":"001",count:4},function(date){
    console.log("data1",date);
    good(date)
},"json")

let goods = document.querySelector(".rmdj").firstElementChild
function good(date){
    for(let i=0;i<date.length; i++){
        let str = "";
        str = `
             <li>
                  <img src="${date[i].goodsImg}" alt="" class="one" />
                  <strong class="St1">${date[i].goodsName}</strong>
                  <div class="div1">
                    Q币价：
                    <span>${date[i].goodsDesc}</span>
                  </div>
                  <div class="div2">
                    微信价：
                    <span>￥${date[i].goodsPrice}</span>
                  </div>
                  <a class="a1" href="">立即购买</a>
                </li> 

  
        `
        goods.innerHTML += str;
    }
}
  }